package com.supreme.nettyapp.generalserver.mqttserver.model;

import io.netty.channel.Channel;
import io.netty.handler.codec.mqtt.MqttMessage;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.HashSet;
import java.util.Set;

@Data
@Accessors(chain = true)
public class SessionStore {

    private String clientId;

    private String username;

    private String password;

    private Channel channel;

    private Set<String> topics = new HashSet<>();

    private MqttMessage mqttMessage;
}
